#ifndef __SPECIALTHING_IMPL_H__
#define __SPECIALTHING_IMPL_H__

#include "onlylyric.h"
#include "nsStringAPI.h"
#include "nsIObserver.h"
#include "Lrc.h"
#include "MapLrcFile.h"
#include "SearchLrcInDir.h"

#define SPECIALTHING_CONTRACTID "@zlbruce.blogspot.com/onlylyric;1"
#define SPECIALTHING_CLASSNAME "OnlyLyric"
#define SPECIALTHING_CID { 0x245626, 0x5cc1, 0x11db, { 0x96, 0x73, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f } }

class COnlyLyric : public IOnlyLyric, public nsIObserver
{
public:
	NS_DECL_ISUPPORTS
	NS_DECL_NSIOBSERVER
	NS_DECL_IONLYLYRIC

	COnlyLyric();

private:
	~COnlyLyric();
	CLrc m_lrc;
	CMapLrcFile m_map;
	CSearchLrcInDir m_searchLrc;
};

#endif

